/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package entity;

/**
 *
 * @author Kien Chinh
 */
public class LeaveType {
    private int typeID;
    private String name;
    private int quatity;

    public LeaveType(int typeID){
        this.typeID = typeID;
    }

    public LeaveType() {
        typeID = 1;
    }
    public int getTypeID() {
        return typeID;
    }

    public void setTypeID(int typeID) {
        this.typeID = typeID;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getQuatity() {
        return quatity;
    }

    public void setQuatity(int quatity) {
        this.quatity = quatity;
    }

    @Override
    public String toString() {
        return name;
    }
    
}
